* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑";
}

body {
    background-color: #dddddd !important;
    padding-top: 80px;
    background-image: url("../images/body_bg.jpg");
    background-attachment: fixed;
}

ul li {
    list-style: none;
}

a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
    color: #fff !important;
}

/*头部导航栏*/
#nav {
    position: fixed;
    width: 100%;
    height: 50px;
    line-height: 50px;
    top: 0px;
    background: linear-gradient(#D3D7E3,#6AAFD8);
    z-index: 1000;
    color: #122A4C;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid #AAB7E1;
}

.nav-header {
    position: relative;
}

.nav-header .back {
    position: absolute;
    top: 15px;
    left: 15px;
}

.nav-header .reg {
    font-size: 18px;
    margin-top: -16px;
}

.nav-header .home, .nav-header .reg {
    position: absolute;
    top: 15px;
    right: 15px;
}

/*弹窗*/
.popup {
    position: fixed;
    z-index: 99999;
    border: solid 4px #ACC7F2;
    padding: 20px;
    width: 360px;
    height: 220px;
    left: calc(50% - 180px);
    top: calc(50% - 110px);
    background-color: beige;
}

.popup .pop-close {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 30px;
    width: 356px;
    line-height: 30px;
    font-size: 20px;
    text-align: right;
    color: #fff;
    cursor: pointer;
    background-color: #ACC7F2;

}

.popup .pop-close span {
    margin-right: 20px;
}

.popup .pop-content {
    padding-top: 50px;
    text-align: center;
    font-size: 22px;
    line-height: 50px;
    color: #333;
}

.mask {
    position: fixed;
    width: 100px;
    height: 100px;
    top: 0px;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 99998;
    opacity: 0.5;
}

label {
    color: #122A4C;
    font-size: 16px;
}

/*回到顶部图片按钮*/
.goTop {
    height: 60px;
    position: fixed;
    bottom: 35px;
    right: 35px;
    cursor: pointer;
    display: none;
    z-index: 100;
}

/*底部导航栏*/
#footer {
    position: fixed;
    width: 100%;
    height: 50px;
    line-height: 50px;
    bottom: 0px;
    background: linear-gradient(#D3D7E3,#6AAFD8);
    z-index: 1000;
    color: #122A4C;
    font-size: 16px;
    text-align: center;
    border: solid 1px #AAB7E1;
}

/*主页*/
.userInfo img {
    height: 30px;
    width: 30px;
    border: solid 1px #767A9F;
    margin-top: -5px;
    margin-right: 20px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    float: left;
}

/*所有的提问*/
.allAsk {
    height: 60px;
    line-height: 60px;
    background: linear-gradient(to right,#D3D7E3,#B9CAE6, #ACC7F2);
    margin: 1px;
    opacity: 0.9;
    border-radius: 5px;
    background-size: 100%;
    border: solid 1px #A8AABF;
    box-shadow: 0 0 5px #D3D7E3;
}
.allAsk img {
    height: 40px;
    width: 40px;
    border-radius: 10px;
    border: solid 1px #767A9F;
}

.allAsk a {
    color: #122A4C !important;
    font-size: 16px !important;
    font-weight: bold;
}

.allAsk .askContent {
    margin-left: 10px;
}

.paging {
    margin-top: 20px;
    border-radius: 8px;
    padding: 10px 20px;
    background: linear-gradient(to right,#D3D7E3,#B9CAE6, #ACC7F2);
    opacity: 0.9;
    border: solid 1px #A8AABF;
    box-shadow: 0 0 5px #D3D7E3;
}

.prePage a {
    text-decoration: none;
    padding: .5em 1em;
    color: #fff;
    font-weight: bold;
    background-color: #122A4C;
}

.nextPage a {
    text-decoration: none;
    padding: .5em 1em;
    color: #fff;
    font-weight: bold;
    background-color: #122A4C;
}

.page a {
    text-decoration: none;
    color: #122A4C;
    font-weight: bold;
    display: inline-block;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    border: solid 1px #122A4C;
}

.pageOn {
    background-color: #122A4C;
    color: #fff !important;
}

.askEmpty {
    display: none;
    background: linear-gradient(to right,#D3D7E3,#B9CAE6, #ACC7F2);
    border: solid 1px #A8AABF;
    height: 200px;
    line-height: 200px;
    border-radius: 8px;
    text-align: center;
    color: #122A4C;
    font-size: 16px;
    opacity: 0.8;
}
/*登录*/
.loginContainer {
    background-color: #D2D9E9;
    box-shadow: 0 0 30px  #122A4C;
    height: 800px;
    padding: 60px 20px;
    opacity: 0.9;
    border-radius: 8px;

}
/*注册*/
.regContainer {

    height: 800px;
    padding: 60px 20px;
    opacity: 0.9;
    border-radius: 8px;
    background-color: #D2D9E9;
    box-shadow: 0 0 5px  #122A4C;
}
/*个人信息*/
.userInfoContainer{
    height: 800px;
    padding: 120px 20px;
    opacity: 0.9;
    border-radius: 8px;
    background-color: #D2D9E9;
    box-shadow: 0 0 5px  #122A4C;
}

/*提问*/
.askContainer {
    height: 800px;
    padding: 60px 20px;
    opacity: 0.9;
    border-radius: 8px;
    background-color: #D2D9E9;
    box-shadow: 0 0 5px  #122A4C;
}

/*提问详情*/
.askDetail {
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    opacity: 0.9;
    background-color: #D2D9E9;
    box-shadow: 0 0 5px  #122A4C;
}

.btn-login,
.btn-reg,
.btn-answer {
    color: #fff;
}

.btn-edit {
    color: #2e6da4!important;
    border: solid 1px #2e6da4!important;
    margin-right: 5px;
}

.btn-edit:hover {
    background-color: #2e6da4!important;
    color: #fff;
}

.btn-delete {
    color: #E27163;
    border: solid 1px #E27163!important;
}

.btn-delete:hover {
    color: #fff;
    background-color: #E27163!important;
}

.answerDetail {
    width: 100%;
    padding-bottom: 20px;
    opacity: 0.9;
    border-bottom: dotted 1px #122A4C;
    border-top: dotted 1px #122A4C;
    background-color: #D2D9E9;
    box-shadow: 0 0 5px  #122A4C;
}

.askContent h4 {
    color: #E27163;
    font-size: 18px;
    font-weight: bold;
}

.askContent .askImg {
    height: 40px;
    width: 40px;
    border-radius: 8px;
    border: solid 1px  #E27163;
}

.answerTitle, .askTitle {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 20px 20px 5px 20px;
    color: #122A4C;
    font-size:18px;
    font-weight: bold;
}

.askDetail .askContent {
    padding: 10px 20px;
}
.answerDetail .answerContent {
    padding: 0 20px;
}
.answerDetail .answerTitle{
    color: #E27163;
}

#answerContent {
    padding: 10px;
    margin-top: 10px;
    border: solid 1px #9AABBF;
    border-radius: 8px;
    background-color: #fff;
}

#answerContent h4 {
    color: #E27163;
    font-size: 18px;
    font-weight:bold;
}

.btn-notLogin {
    margin-top: 0px;
    opacity: 0.9;
    padding: 40px 20px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: #D2D9E9;
    box-shadow: 0 0 5px  #122A4C;
}

.allSearch {
    background-color: #D2D9E9;
    padding: 10px 20px;
    border-radius: 8px;
}

.answerEmpty {
    height: 60px;
    line-height: 60px;
    width: 100%;
    padding: 0 20px;
    display: none;
}

#addAnswer {
    opacity: 0.9;
    padding: 20px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    color: #122A4C;
    margin-bottom: 80px;
    background-color: #D2D9E9;
    box-shadow: 0 0 5px  #122A4C;
}
#addAnswer h4{
    font-size: 18px;
    font-weight: bold;
}
/*提问编辑*/
.askEditContainer {
    height: 800px;
    opacity: 0.9;
    padding: 60px 20px;
    border-radius: 8px;
    background-color: #D2D9E9;
    box-shadow: 0 0 5px  #122A4C;
}
/*搜索*/
#allSearch {
    width: 100%;
    opacity: 0.8;
    border-radius: 8px;
    background-color: #D2D9E9;
    box-shadow: 0 0 30px  #122A4C;
}

.allSearch {
    padding: 20px;
    border-bottom: dashed 1px #122A4C;
}

.allSearch:last-child {
    border: none;
}

.allSearch a {
    color: #122A4C;
}

.allSearch a:hover {
    color: #2e6da4 !important;
}

.empty {
    display: none;
    height: 800px;
    width: 100%;
    opacity: 0.9;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    position: relative;
    background-color: #D2D9E9;
    box-shadow: 0 0 5px  #122A4C;
}

.empty .emptyImg {
    position: absolute;
    left: 18%;
    top: 90px;
}

.empty .emptyText {
    position: absolute;
    left: 40%;
    top: 100px;
}

